package com.biz.primus.commodity.vo.backend;


import com.biz.primus.base.enums.commodity.IStatus;
import com.biz.primus.base.enums.SaleChannel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author david-liu
 * @date 2016年12月21日
 * @reviewer
 * @see
 */
@Data
@ApiModel(description = "品牌更新vo")
public class UpdateBrandVo implements IBrandVo {

    private static final long serialVersionUID = -4186808601464460441L;

    @NotNull
    @ApiModelProperty("id")
    private Long id;

    @NotNull
    @ApiModelProperty("品牌名")
    private String name;

    @ApiModelProperty("品牌 Logo")
    private String logo;

    @ApiModelProperty("描述")
    private String note;

    @ApiModelProperty("品牌归属分类 ID")
    private List<Long> categoryIds;

    @NotNull
    @ApiModelProperty("状态")
    private IStatus status;

    @ApiModelProperty("排序")
    private Integer idx;

    @ApiModelProperty("品牌渠道")
    private SaleChannel saleChannel;

    @ApiModelProperty("首字母")
    private String prefix;

}
